package cn.josh.servicelmpl;

import java.util.List;

import cn.josh.bean.Ec_order;
import cn.josh.daolmpl.Ec_orderDaoImpl;
import cn.josh.service.Ec_orderService;

public class Ec_orderServiceImpl implements Ec_orderService 
{

	public int insertOrder(Ec_order order) 
	{
		
		return new Ec_orderDaoImpl().insertOrder(order);
	}

	@Override
	public List<Ec_order> findAll(Ec_order order) 
	{
		return new Ec_orderDaoImpl().findAll(order);
	}

	@Override
	public int deleteOrder(Ec_order order) 
	{
		return new Ec_orderDaoImpl().deleteOrder(order);
	}

}
